//package com.asset.salesforce.service;
//
//import java.util.List;
//
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Service;
//import org.springframework.transaction.annotation.Transactional;
//
//import com.asset.salesforce.domain.Lead;
//import com.asset.salesforce.domain.SearchDaoImpl;
//import com.asset.salesforce.dto.SearchResults;
//
//@Service
//@Transactional(readOnly=false)
//public class SearchService {
//
//	@Autowired
//    private SearchDaoImpl searchDaoImpl;
//   
//    public void index() {
//            searchDaoImpl.index();
//    }
//
//    public List<Lead> getAllLeadByCompany(SearchResults search,Integer companyId,Integer index,Integer count,String column,String sortDir) {
//		return searchDaoImpl.getAllLeadByCompany(search,companyId, index, count, column, sortDir);
//	}
//	
//	public List<Lead> getAllLeadByEmployee(SearchResults search,Integer empId,Integer index,Integer count,String column,String sortDir) {
//		return searchDaoImpl.getAllLeadByEmployee(search, empId, index, count, column, sortDir);
//	}
//	
//	public Integer getAllSizeForOwner(SearchResults search,String companyName) {
//		return searchDaoImpl.getAllSizeForOwner(search,companyName);
//	}
//	
//	public Integer getAllSizeForEmployee(SearchResults search,Integer empId) {
//		return searchDaoImpl.getAllSizeForEmployee(search, empId);
//	}
//}
